package com.gxa.mapper;

import com.gxa.pojo.Receipt_Purchase;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface PurchaseRecordMapper {
    Integer reverseAuditReceiptPurchase(Map map);

    Integer delReceiptPurchaseRecord(Map map);

    List<Receipt_Purchase> queryAllRecode(int receipt_purchase_business_type);

    Receipt_Purchase queryOneRecode(String receipt_purchase_id);

    List<Receipt_Purchase> queryRecode(int receipt_purchase_business_type,String condition, String startDate, String endDate);
}
